package org.example.design.iterator.lang;

/**
 * @Classname Iterator
 * @Description 迭代器定义
 * @Date 2020/11/10 9:57 上午
 * @Created by xiangjd
 */
public interface Iterator<E> {

    boolean hasNext();

    E next();

}
